[INFO] cloning repository https://github.com/Wuzado/hn-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wuzado/hn-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWuzado%2Fhn-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWuzado%2Fhn-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f4210e6173a41b5072bb33bc5d1c536969f88689
[INFO] checking Wuzado/hn-rs against try#d57d2d63e6f308d854fedbafd91d7721b7c651af for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWuzado%2Fhn-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Wuzado/hn-rs on toolchain d57d2d63e6f308d854fedbafd91d7721b7c651af
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Wuzado/hn-rs
[INFO] finished tweaking git repo https://github.com/Wuzado/hn-rs
[INFO] tweaked toml for git repo https://github.com/Wuzado/hn-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Wuzado/hn-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6afafdc4c588e9a4142646af5a6699b736e5d8f8e0d8595aa85fef875c966cc
[INFO] running `Command { std: "docker" "start" "-a" "c6afafdc4c588e9a4142646af5a6699b736e5d8f8e0d8595aa85fef875c966cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6afafdc4c588e9a4142646af5a6699b736e5d8f8e0d8595aa85fef875c966cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6afafdc4c588e9a4142646af5a6699b736e5d8f8e0d8595aa85fef875c966cc", kill_on_drop: false }`
[INFO] [stdout] c6afafdc4c588e9a4142646af5a6699b736e5d8f8e0d8595aa85fef875c966cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ccb5ffa9cc1987719932b318ab2a7bdca27ee5b3a594f6c9a17e2e535557982
[INFO] running `Command { std: "docker" "start" "-a" "1ccb5ffa9cc1987719932b318ab2a7bdca27ee5b3a594f6c9a17e2e535557982", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling signal-hook v0.3.13
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking unicode-segmentation v1.9.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking signal-hook-mio v0.2.1
[INFO] [stderr]     Checking crossterm v0.22.1
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking tui v0.17.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]     Checking tokio v1.16.1
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.16
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.9
[INFO] [stderr]     Checking hn-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `items` in this scope
[INFO] [stdout]  --> src/middleware.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Ok(Some(items))
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_beststories`, `get_item`
[INFO] [stdout]  --> src/middleware.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::{get_beststories, get_item};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `items` in this scope
[INFO] [stdout]  --> src/middleware.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Ok(Some(items))
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_item`
[INFO] [stdout]  --> src/middleware.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api::{get_beststories, get_item};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_db` in this scope
[INFO] [stdout]   --> src/views.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pet_list = read_db().expect("can fetch pet list");
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_db` in this scope
[INFO] [stdout]   --> src/views.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pet_list = read_db().expect("can fetch pet list");
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hn-rs` (bin "hn-rs") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/middleware.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |         get_n_items(5, get_beststories());
[INFO] [stdout]    |         -----------    ^^^^^^^^^^^^^^^^^ expected `&dyn FnOnce() -> Result<..., ...>`, found future
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/middleware.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub async fn get_n_items(n: u32, func: &dyn FnOnce() -> Result<Vec<i32>, reqwest::Error>) -> Result<Option<Vec<structs::Item>>, Box<dyn s...
[INFO] [stdout]    |              ^^^^^^^^^^^         -------------------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hn-rs` (bin "hn-rs" test) due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1ccb5ffa9cc1987719932b318ab2a7bdca27ee5b3a594f6c9a17e2e535557982", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ccb5ffa9cc1987719932b318ab2a7bdca27ee5b3a594f6c9a17e2e535557982", kill_on_drop: false }`
[INFO] [stdout] 1ccb5ffa9cc1987719932b318ab2a7bdca27ee5b3a594f6c9a17e2e535557982
